using UnityEngine;
using UnityEngine.UI;

namespace IQIGame.Onigao.Framework
{
    [AddComponentMenu("UIEx/ExToggleGroup")]
    public class ExToggleGroup : ToggleGroup, IUGUIEx
    {
        [SerializeField]
        private int _groupId;

        public int groupId
        {
            set { _groupId = value; }
            get { return _groupId; }
        }

        public object dynamicData { get; set; }

        public void SetActive(bool isActive)
        {
            this.gameObject.SetActive(isActive);
        }
    }
}
